abstract class $CONTAINER{ETP} < $ELT{ETP}
****
The basic abstract container type Does not have a create:SAME method, since this does not make sense for arrays and other indexible types, where the create should take SAME as an argument Inherits: elt!, str


Ancestors
$ELT{_} $ELT

Descendants
$RO_MULTIMAP{_,_} $MULTIMAP{_,_} H_MULTIMAP{_,_} MULTIMAP{_,_}
$RO_BAG{_} $BAG{_} BAG{_} H_BAG{_}
$RO_SET{_} FILTER_SET_VIEW{_} DIGRAPH_NODE_SET_VIEW{_,_} DIGRAPH_NODE_SET_VIEW{_}
$SET{_} SET_INCL{_} H_SET{_} SET{_}
DIGRAPH_EDGE_SET_VIEW{_} RO_SET_INCL{_} DIGRAPH_INC_SET_VIEW{_,_} DIGRAPH_OUTG_SET_VIEW{_,_}
BINOP_SET_VIEW{_} $RO_MAP{_,_} $MAP{_,_} H_MAP{_,_}
MAP{_,_} B_TREE_DBG{_,_} $DISPENSER{_} $QUEUE{_}
A_QUEUE{_} QUEUE{_} $PQ{_} A_PQ{_}
$NR_STACK{_} NR_STACK{_} NR_A_STACK{_} $STACK{_}
STACK{_} A_STACK{_} $RO_ARR{_} $ARR{_}
$LIST{_} LIST{_} A_LIST{_} ARRAY{_}
FLIST{_} FSTR



Public


Features
copy: SAME;
**** Return a copy of the current container post result = self
has(e: ETP): BOOL;
**** pre ~void(self) True if the container contains the element "e"
size: INT;
**** Number of elements actually inserted

The Sather Home Page